meson: Simplify how cairo dependencies are checked
authorXavier Claessens <xavier.claessens@collabora.com>
Fri, 16 Oct 2020 21:26:15 +0000 (17:26 -0400)
committerXavier Claessens <xavier.claessens@collabora.com>
Sat, 17 Oct 2020 13:54:47 +0000 (09:54 -0400)
commitefbbfb6547350b0e16231aece750fe0aec967fee
treecc594a17fbb1eb8c6c6525830afb948fd4228813
parent1021e121219eacfa5017baf6d6952a90f1903a65
meson: Simplify how cairo dependencies are checked

There is no reason to fallback to find_library for cairo and still rely
on pkg-config for all other dependencies, and just when using MSVC. When
building and pkg-config is not working it is preferable to fallback to a
subproject just like for all other dependencies.

Also add cairo.wrap now that meson support has been merged upstream.
meson.build
subprojects/cairo.wrap [new file with mode: 0644]